//
//  EDSCustomAlertView.h
//  DrivieSchoolStudents
//
//  Created by TangBin on 2019/5/16.
//  Copyright © 2019 班文政. All rights reserved.
//

#import "TYZBaseView.h"

NS_ASSUME_NONNULL_BEGIN

@interface EDSCustomAlertView : TYZBaseView

//@property (nonatomic, strong, readonly) UILabel *titleLabel;

@property (nonatomic, strong, readonly) UIButton *btnCancel;
@property (nonatomic, strong, readonly) UIButton *btnSubmit;
@property (nonatomic, strong, readonly) UILabel *titleLabel;

/**
 初始化

 @param frame frame description
 @param title 标题
 @param msg 内容
 @param btnCancelTitle 取消按钮标题
 @param btnSubmitTitle 确定按钮标题
 @return return value description
 */
- (instancetype)initWithFrame:(CGRect)frame andTitle:(nullable NSString *)title andMsg:(nullable NSString *)msg btnCancelTitle:(nullable NSString *)btnCancelTitle btnSubmitTitle:(nullable NSString *)btnSubmitTitle;

- (void)showWithCompletion:(void(^ _Nullable)(void))completionBlock failed:(void(^ _Nullable)(void))failedBlock;

- (void)hide;

@end

NS_ASSUME_NONNULL_END
